package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ContentService {
    PageInfo<TbContent> getListContent(Integer pageNumber, Integer pageSize);

    int insertContent(TbContent content);

    TbContent selectInfoById(Long id);

    int deleteBatch(Long[] ids);

    int updateContentInfo(TbContent content);

    int updateStatusById(Long[] ids, String status);

    List<TbContent> getListMyCarousel();

    List<TbContent> listTodayContent();

    List<TbContent> listFavoriteContent();

    List<TbContent> listInterestContent();

    List<TbContent> listTab1Content();
}
